package com.lpf.flowable;

import com.lpf.flowable.config.AppDispatcherServletConfiguration;
import com.lpf.flowable.config.ApplicationConfiguration;
import com.lpf.flowable.config.DatabaseAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@Import(value = {
            ApplicationConfiguration.class,
            AppDispatcherServletConfiguration.class,
            DatabaseAutoConfiguration.class})
@MapperScan("com.lpf.*.dao")
@ComponentScan(basePackages = {"com.lpf.*"})
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
public class FlowableUIApplication {

    public static void main(String[] args) {
        SpringApplication.run(FlowableUIApplication.class, args);
    }

}
